<admintpl file="header" />
<body class="J_scroll_fixed">
<div class="wrap J_check_wrap">
<script src="__ROOT__/statics/js/common.js"></script>
<script src="__ROOT__/statics/js/angular/angular.min.js"></script>
<script src="__ROOT__/statics/js/angular/myApp.js"></script>
	<ul class="nav nav-tabs">
		<li ><a href="{:U('index')}">商品类型列表</a></li>
		<li class="active"><a href="#" >新建商品类型</a></li>
	</ul>
	<div ng-app="myApp" ng-controller="myCtrl">
		<p>商品类型名称：<input type="text" ng-model="post.cat_name"></p>
		<p>　　属性分组：<textarea  ng-model="post.attr_group"></textarea></p>
		<p><button class="btn btn-primary" ng-click="clickAdd(post)">确定</button>　{{addType}}<button class="btn btn-primary" ng-click="post=''">重置</button>
		<!--p ng-show="loading">Loading...</p>
		<p ng-hide="loading">Response:{{response}}</p>
		<input type="text" ng-model="post.name">
		<input type="password" ng-model="post.password">
		<p>{{post}}</p>
		<button class="btn btn-primary" ng-click="myclick(post)">点我</button>
		{{mpost}}-->
	</div>
</body>
</html>
